<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>homework1</title>
</head>
<style>
    .bd{
        font-size: x-large;
    }
</style>
<body class="bd">
    <pre>
        s = input()
        d = {"digits": 0, "letters": 0}
        for i in s:
            if i.isdigit():
                d["digits"] += 1
            elif i.isalpha():
                d["letters"] += 1
        print(d["letters"], "个字母,", d["digits"], "个数字")

    </pre>
</body>
</html>